import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router"

const routes:RouteRecordRaw[] = [
    {
        path:'/',
        name:'login',
        component:()=>import('../components/login.vue')
    },
    {
        path:'/LoginCg/:Name/:Pwd',
        name:'LoginCg',
        component:()=>import('../components/LoginCg.vue')
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router 